*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

nav{
    display:none;
}

.headerContent{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #000000;
    height: 100px;
    /* position: fixed; */
    top: 0;
    width: 100%;
    z-index: 999;
    
}


.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
}

.header .logoSec img{
    width: 100px;

}

.header .linkSec{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-weight: 700;
}

.header .linkSec a{
    text-decoration: none;
    color: white;
    transition: 0.3s;

    padding: 18px;
    border-radius: 10px;
}

.header .linkSec a:hover{
    color: black ;
    background-color: rgba(214, 214, 214, 0.8);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;

}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: 160px;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
    z-index: 1;
    margin-top: 12px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dropdown-content li {
    list-style: none;

}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}



.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: gray;
}


/* Header animation CSS */

.headerContent {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


.headerContent.fixed {
    position: fixed;
    animation: slideDown 0.5s ease-out forwards;
    background-color: #ffffff; /* Change background to white */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a box shadow for better visibility */
}

.headerContent.fixed .linkSec a{
    color: #000000; /* Change link color to black */
    border: none;
}

.headerContent .linkSec a {
    color: white; /* Default link color */
    transition: color 0.3s ease; /* Smooth color transition */
}

.headerContent.fixed .dropdown-content {
    background-color: #ffffff; /* Change dropdown background to white */
}

.headerContent .dropdown-content {
    background-color: #000000; /* Default dropdown background color */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

.headerContent.fixed .linkSec .language-switcher button {
    color: black;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header buttons for lang */

.linkSec .language-switcher button {
    background-color: transparent;
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
}

.linkSec .language-switcher button:hover {
    scale: 1.1;
}

/* Mobile header */

@media (max-width: 768px) {

.headerContent {
    display: none;
    overflow-x: hidden;
}

/* Default nav styles */
nav {
    display: block;
    z-index: 3;
}

a {
    text-decoration: none !important;
    color: #232323;
    transition: color 0.3s ease;
}

a:hover {
    color: tomato;
}

/* Menu toggle styles */
#menuToggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3;
    -webkit-user-select: none;
    user-select: none;
}

/* Hide checkbox for the menu toggle */
#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 20;
}

/* Hamburger menu icon */
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: gray;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* Hamburger to X animation when checked */
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: black;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
    background-color: black;
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
    background: black;
}

/* Full-screen nav menu when opened */
#menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background: #ededed;
    list-style-type: none;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%); /* Initially hidden */
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 15px 0;
    font-size: 24px; /* Increase the font size for full-screen nav */
    text-align: center;
}

#menuToggle input:checked ~ ul {
    transform: translateX(0); /* Show the menu fully */
}

/* Ensure the background covers the screen when active */
#menuToggle input:checked ~ #menu {
    transform: translateX(0); /* Slide the menu into view */
}

/* Language switcher for mobile */
.language-switcher {
    margin-top: 20px;
}

.language-switcher button {
    background-color: transparent;
    border: none;
    color: black;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
    font-size: 20px;
}

ul img {
    width: 80%; /* Resize for better fit in full-screen mode */
    margin-top: 30px;
    padding: 10px;
}

#menu a{
    color: black;
    font-size: 20px;
    margin: 10px;
}
}